<!-- Shell -->
<div id="shell"> 
  
  <!-- Header -->
  <div id="header"> 
    <!-- Logo -->
    <h1 id="logo"><a href="#">MEGAZZINE</a></h1>
    <!-- /Logo -->
    <div class="top-bar"> 
      <!-- Header Links -->
      <div class="links"> <a href="#">Đăng nhập</a> <a href="#">Đăng ký</a> <a href="#" class="rss">SUBSCRIBE</a> </div>
      <!-- /Header Links -->
      
      <div class="cl">&nbsp;</div>
      
      <!-- Search -->
      <div id="search">
        <form action="#" method="post">
          <label for="search-string">Tìm kiếm</label>
          <div class="fields">
            <input type="text" value="..." title="..." id="search-string" class="field" />
            <input type="submit" value="" class="submit" />
          </div>
        </form>
      </div>
      <!-- /Search --> 
    </div>
  </div>
  <!-- /Header --> 
  <?php Template::UserControlTPL('Categories'); ?>
  
  
  <!-- Main -->
  <div id="main"> 
  	<?
	  
  		//echo $do;
		$filename = './kam/modules/'.$do.'/site/'.$tpl.'.php';
		//echo $filename;
		
		if(file_exists($filename)) 
			include($filename); 
		else
			print('This page is not available tpl');
	?>
    
    <div class="cl">&nbsp;</div>
  </div>
  <!-- /Main --> 
  
  <?php Template::UserControlTPL('Bottom'); ?>
  <?php Template::UserControlTPL('Login'); ?>
  <?//php Template::UserControlTPL('ShareRight'); ?>
  <? include('footer.php'); ?>
  <!--End #footer--> 
  
</div>
<!-- /Shell -->